return {
    "NeogitOrg/neogit",
    dependencies = {
        "sindrets/diffview.nvim", -- optional - Diff integration
    },
    event = 'VeryLazy',
    config = function(_, opts)
        local neogit = require('neogit')
        neogit.setup(opts)

        vim.keymap.set('n', '<Leader>g', neogit.open, { desc = 'neogit 启动' })
    end
}
